package com.ruoyi.contract.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目对象 contract_project
 * 
 * @author ruoyi
 * @date 2024-10-18
 */
public class ContractProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long contractProjectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String name;

    /** 项目所属公司id */
    @Excel(name = "项目所属公司id")
    private Long belongingCompanyId;

    /** 项目所属公司名称 */
    @Excel(name = "项目所属公司名称")
    private String belongingCompanyIdName;

    /** 项目开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 项目结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 项目是否结束 */
    @Excel(name = "项目是否结束")
    private String state;

    /** 创建者id */
    @Excel(name = "创建者id")
    private Long addUserId;

    /** 创建者名称 */
    @Excel(name = "创建者名称")
    private String addUserIdName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    /** 修改者id */
    @Excel(name = "修改者id")
    private Long updateUserId;

    /** 修改者名称 */
    @Excel(name = "修改者名称")
    private String updateUserIdName;

    public void setContractProjectId(Long contractProjectId)
    {
        this.contractProjectId = contractProjectId;
    }

    public Long getContractProjectId()
    {
        return contractProjectId;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setBelongingCompanyId(Long belongingCompanyId)
    {
        this.belongingCompanyId = belongingCompanyId;
    }

    public Long getBelongingCompanyId()
    {
        return belongingCompanyId;
    }

    public void setBelongingCompanyIdName(String belongingCompanyIdName)
    {
        this.belongingCompanyIdName = belongingCompanyIdName;
    }

    public String getBelongingCompanyIdName()
    {
        return belongingCompanyIdName;
    }

    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }

    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }

    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    public void setAddUserId(Long addUserId)
    {
        this.addUserId = addUserId;
    }

    public Long getAddUserId()
    {
        return addUserId;
    }

    public void setAddUserIdName(String addUserIdName)
    {
        this.addUserIdName = addUserIdName;
    }

    public String getAddUserIdName()
    {
        return addUserIdName;
    }

    public void setAddTime(Date addTime)
    {
        this.addTime = addTime;
    }

    public Date getAddTime()
    {
        return addTime;
    }

    public void setUpdateUserId(Long updateUserId)
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId()
    {
        return updateUserId;
    }

    public void setUpdateUserIdName(String updateUserIdName)
    {
        this.updateUserIdName = updateUserIdName;
    }

    public String getUpdateUserIdName()
    {
        return updateUserIdName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("contractProjectId", getContractProjectId())
                .append("name", getName())
                .append("belongingCompanyId", getBelongingCompanyId())
                .append("belongingCompanyIdName", getBelongingCompanyIdName())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("state", getState())
                .append("addUserId", getAddUserId())
                .append("addUserIdName", getAddUserIdName())
                .append("addTime", getAddTime())
                .append("updateUserId", getUpdateUserId())
                .append("updateUserIdName", getUpdateUserIdName())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
